<template>
  <div class="login">
    <van-icon name="arrow-left" />
    <div class="login-con">
      <span>手机号登录</span>
      <p class="reg">未注册手机号将直接使用</p>
      <div class="tel">
        <div class="tel-left"><p>+86</p></div>
        <div class="tel-right"><p>请输入手机号</p></div>
      </div>
      <button>发送验证码</button>
      <p class="mima" @click="router.push('/LoginSuccess')">使用密码登录</p>
    </div>
  </div>
</template>
<script setup>
import { ref } from "vue";
import { useRouter, useRoute } from "vue-router";
const router = useRouter();
const route = useRoute();

</script>


<style lang="less">
.login {
  position: relative;
  .van-icon {
    margin: 10px 0 0 15px;
  }
  .login-con {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translate(-50%);
    span{
      display: block;
      color: #010300;
      font-size: 25px;
      text-align: center;
      font-size: 18px;
    }
    .reg {
      margin-top: 5px;
      font-size: 12px;
      text-align: center;
    }
    .tel {
      width: 256px;
      height: 38px;
      display: flex;
      border: 1px solid #ebe0d3;
      margin-top: 30px;
      color: #919191;
      border-radius: 5px;
      .tel-left {
        height: 38px;
        line-height: 38px;
        padding: 0 10px;
        border-right: 1px solid #ebe0d3;
      }
      .tel-right {
        height: 38px;
        line-height: 38px;
        padding: 0 0 0 10px;
      }
    }
    button{
      width: 93px;
      height: 31px;
      line-height: 31px;
      text-align: center;
      color: white;
      background: rgb(9, 114, 118);
      border:none;
      position: absolute;
      right: 0px;
      top: 150px;
      font-size: 10px;
       border-radius: 5px;
    }
    .mima {
      position: absolute;
      right: 0px;
      top: 200px;
      color: #097276;
      min-width: 93px;
      font-size: 10px;
      text-align: center;
    }
  }
}
</style>
